package com.graduation.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("grade")
public class Grade {

  /**
   * 主键
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 课题id
   */
  private Long taskId;

  /**
   * 评分类型
   */
  private Integer gradeType;

  /**
   * 评分分数
   */
  private Integer gradeScore;

  /**
   * 评分评语
   */
  private String gradeRemark;

  /**
   * 评分人账号
   */
  private String userCode;

  /**
   * 选题成绩
   */
  private Integer topicScore;

  /**
   * 过程成绩
   */
  private Integer processScore;

  /**
   * 能力成绩
   */
  private Integer abilityScore;

  /**
   * 质量成绩
   */
  private Integer qualityScore;

  /**
   * 删除标记
   */
  @TableLogic
  private Integer deleteFlag;

  /**
   * 创建时间
   */
  private Date createTime;

  /**
   * 修改时间
   */
  private Date updateTime;

}
